package com.sharp.join.tk.mybatis.framework.join.entity;

import java.util.List;

/**
 * Title: IJoinRelationship
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2022/7/4 11:38
 */
public interface IJoinRelationship {

    default JoinRelationship.Builder buildJoinRelationship(Class<?> clazz1, String fieldName1, Class<?> clazz2, String fieldName2, JoinRelationship.Type type) {
        return new JoinRelationship.Builder(clazz1, fieldName1, clazz2, fieldName2, type);
    }

    List<JoinRelationship> joinRelationship();
}
